**** dT 0.000 * top TEST ../../../../bin/varnishtest/tests/b00038.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:38423 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest/../../../../bin/varnishtest/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.3674449.1c36edc5 **** top macro def vtcid=vtc.3674449.1c36edc5 ** top === varnishtest "Test abandon from vcl_backend_xxx" * top VTEST Test abandon from vcl_backend_xxx ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=37145 **** s1 macro def s1_sock=127.0.0.1:37145 * s1 Listen on 127.0.0.1:37145 ** top === varnish v1 -arg "-pfirst_byte_timeout=0.1" -vcl+backend { **** dT 0.001 ** s1 Started on 127.0.0.1:37145 (1 iterations) **** dT 0.031 ** v1 Launch *** v1 CMD: cd ${pwd} && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.3674449.1c36edc5/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46319' -P /home/linux1/VT/_vtest_tmp/vtc.3674449.1c36edc5/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs -pfirst_byte_timeout=0.1 *** v1 CMD: cd /home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/bin/varnishtest && exec varnishd -d -n /home/linux1/VT/_vtest_tmp/vtc.3674449.1c36edc5/v1 -i v1 -l 2m -p auto_restart=off -p syslog_cli_traffic=off -p thread_pool_min=10 -p debug=+vtc_mode -p vsl_mask=+Debug,+H2RxHdr,+H2RxBody -p h2_initial_window_size=1m -p h2_rx_window_low_water=64k -a '127.0.0.1:0' -M '127.0.0.1 46319' -P /home/linux1/VT/_vtest_tmp/vtc.3674449.1c36edc5/v1/varnishd.pid -p vmod_path=/home/linux1/VT/varnish-cache/varnish-trunk/_build/sub/vmod/.libs -pfirst_byte_timeout=0.1 *** v1 PID: 3674468 **** v1 macro def v1_pid=3674468 **** v1 macro def v1_name=/home/linux1/VT/_vtest_tmp/vtc.3674449.1c36edc5/v1 **** dT 0.034 *** v1 debug|Info: Working directory not mounted on tmpfs partition **** dT 0.044 *** v1 debug|Debug: Version: varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 *** v1 debug|Debug: Platform: Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|200 329 *** v1 debug|----------------------------- *** v1 debug|Varnish Cache CLI 1.0 *** v1 debug|----------------------------- *** v1 debug|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit *** v1 debug|varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 *** v1 debug| *** v1 debug|Type 'help' for command list. *** v1 debug|Type 'quit' to close CLI session. *** v1 debug|Type 'start' to launch worker process. *** v1 debug| **** dT 0.145 **** v1 CLIPOLL 1 0x1 0x0 0x0 *** v1 CLI connection fd = 7 *** v1 CLI RX 107 **** v1 CLI RX|nllforwsfxfkvoyoaglhgoiyjkqvlhtc **** v1 CLI RX| **** v1 CLI RX|Authentication required. **** dT 0.146 **** v1 CLI TX|auth d40e287c7c5fcf7e0c81deb5467f9ca45016b35b64b8def1f6854f191a924f40 **** dT 0.152 *** v1 CLI RX 200 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Varnish Cache CLI 1.0 **** v1 CLI RX|----------------------------- **** v1 CLI RX|Linux,4.18.0-553.34.1.el8_10.s390x,s390x,-jlinux,-sdefault,-sdefault,-hcritbit **** v1 CLI RX|varnish-trunk revision c412418261f2a64e48b36c93536358bc53f00ef7 **** v1 CLI RX| **** v1 CLI RX|Type 'help' for command list. **** v1 CLI RX|Type 'quit' to close CLI session. **** v1 CLI RX|Type 'start' to launch worker process. **** v1 CLI TX|vcl.inline vcl1 << %XJEIFLH|)Xspa8P **** v1 CLI TX|vcl 4.1; **** v1 CLI TX|backend s1 { .host = "127.0.0.1"; .port = "37145"; } **** v1 CLI TX| **** v1 CLI TX| **** v1 CLI TX|\tsub vcl_backend_fetch { **** v1 CLI TX|\t\tif (bereq.url == "/foo") { **** v1 CLI TX|\t\t\treturn (abandon); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX|\tsub vcl_backend_response { **** v1 CLI TX|\t\tif (bereq.url == "/bar") { **** v1 CLI TX|\t\t\treturn (abandon); **** v1 CLI TX|\t\t} **** v1 CLI TX|\t} **** v1 CLI TX|\tsub vcl_backend_error { **** v1 CLI TX|\t\treturn (abandon); **** v1 CLI TX|\t} **** v1 CLI TX| **** v1 CLI TX|%XJEIFLH|)Xspa8P **** dT 0.259 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.361 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.462 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.565 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.666 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.766 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.869 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 0.970 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.011 *** v1 CLI RX 200 **** v1 CLI RX|VCL compiled. **** v1 CLI TX|vcl.use vcl1 **** dT 1.017 *** v1 CLI RX 200 **** v1 CLI RX|VCL 'vcl1' now active ** v1 Start **** v1 CLI TX|start **** dT 1.072 *** v1 vsl|No VSL chunk found (child not started ?) **** dT 1.079 *** v1 debug|Debug: Child (3674481) Started **** dT 1.131 *** v1 debug|Child launched OK **** dT 1.155 *** v1 CLI RX 200 *** v1 wait-running **** v1 CLI TX|status *** v1 debug|Info: Child (3674481) said Child starts *** v1 CLI RX 200 **** v1 CLI RX|Child in state running **** v1 CLI TX|debug.listen_address **** dT 1.172 **** v1 vsl| 0 CLI - Rd vcl.load "vcl1" vcl_vcl1.1737238019.920440/vgc.so 1auto **** v1 vsl| 0 CLI - Wr 200 52 Loaded "vcl_vcl1.1737238019.920440/vgc.so" as "vcl1" **** v1 vsl| 0 CLI - Rd vcl.use "vcl1" **** v1 vsl| 0 CLI - Wr 200 0 **** v1 vsl| 0 CLI - Rd start **** v1 vsl| 0 Debug - sockopt: Setting SO_LINGER for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting SO_KEEPALIVE for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting SO_SNDTIMEO for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting SO_RCVTIMEO for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting TCP_NODELAY for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPIDLE for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPCNT for a0=127.0.0.1:39785 **** v1 vsl| 0 Debug - sockopt: Setting TCP_KEEPINTVL for a0=127.0.0.1:39785 **** v1 vsl| 0 CLI - Wr 200 0 **** dT 1.211 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39785 **** v1 CLI TX|debug.xid 1000 **** dT 1.277 *** v1 CLI RX 200 **** v1 CLI RX|XID is 1000 chunk 1 **** v1 CLI TX|debug.listen_address **** dT 1.286 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39785 **** v1 vsl| 0 CLI - Rd debug.xid 1000 **** v1 vsl| 0 CLI - Wr 200 19 XID is 1000 chunk 1 **** dT 1.334 *** v1 CLI RX 200 **** v1 CLI RX|a0 127.0.0.1 39785 ** v1 Listen on 127.0.0.1 39785 **** v1 macro def v1_addr=127.0.0.1 **** v1 macro def v1_port=39785 **** v1 macro def v1_sock=127.0.0.1:39785 **** v1 macro def v1_a0_addr=127.0.0.1 **** v1 macro def v1_a0_port=39785 **** v1 macro def v1_a0_sock=127.0.0.1:39785 ** top === client c1 { ** c1 Starting client ** c1 Waiting for client **** dT 1.339 ** c1 Started on 127.0.0.1:39785 (1 iterations) *** c1 Connect to 127.0.0.1:39785 *** c1 connected fd 17 from 127.0.0.1 34932 to 127.0.0.1:39785 ** c1 === txreq -url /foo **** c1 txreq|GET /foo HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 1.358 **** c1 rxhdr|HTTP/1.1 503 Service Unavailable\r **** c1 rxhdr|Date: Sat, 18 Jan 2025 22:07:01 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1001\r **** c1 rxhdr|Content-Type: text/html; charset=utf-8\r **** c1 rxhdr|Retry-After: 5\r **** c1 rxhdr|Content-Length: 278\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 208 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |Service Unavailable **** c1 http[ 3] |Date: Sat, 18 Jan 2025 22:07:01 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1001 **** c1 http[ 6] |Content-Type: text/html; charset=utf-8 **** c1 http[ 7] |Retry-After: 5 **** c1 http[ 8] |Content-Length: 278 **** c1 http[ 9] |Connection: keep-alive **** c1 c-l| **** c1 c-l| **** c1 c-l|
**** c1 c-l|Service Unavailable
**** c1 c-l|XID: 1001
**** c1 c-l|Varnish cache server
**** c1 c-l| **** c1 c-l| **** c1 bodylen = 278 ** c1 === expect resp.status == 503 **** c1 EXPECT resp.status (503) == "503" match ** c1 === txreq -url /bar **** c1 txreq|GET /bar HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 1.387 **** v1 vsl| 0 CLI - Rd debug.listen_address **** v1 vsl| 0 CLI - Wr 200 19 a0 127.0.0.1 39785 **** v1 vsl| 1000 Begin c sess 0 HTTP/1 **** v1 vsl| 1000 SessOpen c 127.0.0.1 34932 a0 127.0.0.1 39785 1737238021.121365 22 **** v1 vsl| 1000 Debug c sockopt: SO_LINGER may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: SO_KEEPALIVE may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: SO_SNDTIMEO may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: SO_RCVTIMEO may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: TCP_NODELAY may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPIDLE may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPCNT may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Debug c sockopt: TCP_KEEPINTVL may be inherited for a0=127.0.0.1:39785 **** v1 vsl| 1000 Link c req 1001 rxreq **** v1 vsl| 1002 Begin b bereq 1001 fetch **** v1 vsl| 1002 VCL_use b vcl1 **** v1 vsl| 1002 Timestamp b Start: 1737238021.122003 0.000000 0.000000 **** v1 vsl| 1002 BereqMethod b GET **** v1 vsl| 1002 BereqURL b /foo **** v1 vsl| 1002 BereqProtocol b HTTP/1.1 **** v1 vsl| 1002 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b User-Agent: c1 **** v1 vsl| 1002 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1002 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1002 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1002 BereqHeader b X-Varnish: 1002 **** v1 vsl| 1002 VCL_call b BACKEND_FETCH **** v1 vsl| 1002 VCL_return b abandon **** v1 vsl| 1002 BereqAcct b 0 0 0 0 0 0 **** v1 vsl| 1002 End b **** v1 vsl| 1001 Begin c req 1000 rxreq **** v1 vsl| 1001 Timestamp c Start: 1737238021.121406 0.000000 0.000000 **** v1 vsl| 1001 Timestamp c Req: 1737238021.121406 0.000000 0.000000 **** v1 vsl| 1001 VCL_use c vcl1 **** v1 vsl| 1001 ReqStart c 127.0.0.1 34932 a0 **** v1 vsl| 1001 ReqMethod c GET **** v1 vsl| 1001 ReqURL c /foo **** v1 vsl| 1001 ReqProtocol c HTTP/1.1 **** v1 vsl| 1001 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c User-Agent: c1 **** v1 vsl| 1001 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1001 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1001 VCL_call c RECV **** v1 vsl| 1001 VCL_return c hash **** v1 vsl| 1001 VCL_call c HASH **** v1 vsl| 1001 VCL_return c lookup **** v1 vsl| 1001 VCL_call c MISS **** v1 vsl| 1001 VCL_return c fetch **** v1 vsl| 1001 Link c bereq 1002 fetch **** v1 vsl| 1001 Timestamp c Fetch: 1737238021.122793 0.001387 0.001387 **** v1 vsl| 1001 RespProtocol c HTTP/1.1 **** v1 vsl| 1001 RespStatus c 503 **** v1 vsl| 1001 RespReason c Service Unavailable **** v1 vsl| 1001 RespHeader c Date: Sat, 18 Jan 2025 22:07:01 GMT **** v1 vsl| 1001 RespHeader c Server: Varnish **** v1 vsl| 1001 RespHeader c X-Varnish: 1001 **** v1 vsl| 1001 VCL_call c SYNTH **** v1 vsl| 1001 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1001 RespHeader c Retry-After: 5 **** v1 vsl| 1001 VCL_return c deliver **** v1 vsl| 1001 Timestamp c Process: 1737238021.122864 0.001457 0.000070 **** v1 vsl| 1001 RespHeader c Content-Length: 278 **** v1 vsl| 1001 Storage c malloc Transient **** v1 vsl| 1001 Filters c **** v1 vsl| 1001 RespHeader c Connection: keep-alive **** v1 vsl| 1001 Timestamp c Resp: 1737238021.122909 0.001503 0.000045 **** v1 vsl| 1001 ReqAcct c 54 0 54 208 278 486 **** v1 vsl| 1001 End c **** v1 vsl| 1000 Link c req 1003 rxreq **** dT 1.467 **** c1 rxhdr|HTTP/1.1 503 Service Unavailable\r **** c1 rxhdr|Date: Sat, 18 Jan 2025 22:07:01 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1003\r **** c1 rxhdr|Content-Type: text/html; charset=utf-8\r **** c1 rxhdr|Retry-After: 5\r **** c1 rxhdr|Content-Length: 278\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 208 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |Service Unavailable **** c1 http[ 3] |Date: Sat, 18 Jan 2025 22:07:01 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1003 **** c1 http[ 6] |Content-Type: text/html; charset=utf-8 **** c1 http[ 7] |Retry-After: 5 **** c1 http[ 8] |Content-Length: 278 **** c1 http[ 9] |Connection: keep-alive **** c1 c-l| **** c1 c-l| **** c1 c-l| **** c1 c-l|Service Unavailable
**** c1 c-l|XID: 1003
**** c1 c-l|Varnish cache server
**** c1 c-l| **** c1 c-l| **** c1 bodylen = 278 ** c1 === expect resp.status == 503 **** c1 EXPECT resp.status (503) == "503" match ** c1 === txreq -url /baz **** c1 txreq|GET /baz HTTP/1.1\r **** c1 txreq|Host: 127.0.0.1\r **** c1 txreq|User-Agent: c1\r **** c1 txreq|\r ** c1 === rxresp **** dT 1.489 **** v1 vsl| 1004 Begin b bereq 1003 fetch **** v1 vsl| 1004 VCL_use b vcl1 **** v1 vsl| 1004 Timestamp b Start: 1737238021.124703 0.000000 0.000000 **** v1 vsl| 1004 BereqMethod b GET **** v1 vsl| 1004 BereqURL b /bar **** v1 vsl| 1004 BereqProtocol b HTTP/1.1 **** v1 vsl| 1004 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1004 BereqHeader b User-Agent: c1 **** v1 vsl| 1004 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1004 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1004 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1004 BereqHeader b X-Varnish: 1004 **** v1 vsl| 1004 VCL_call b BACKEND_FETCH **** v1 vsl| 1004 VCL_return b fetch **** v1 vsl| 1004 Timestamp b Fetch: 1737238021.124716 0.000013 0.000013 **** v1 vsl| 1004 Timestamp b Connected: 1737238021.124768 0.000065 0.000051 **** v1 vsl| 1004 BackendOpen b 25 s1 127.0.0.1 37145 127.0.0.1 33368 connect **** v1 vsl| 1004 Timestamp b Bereq: 1737238021.124788 0.000085 0.000019 **** v1 vsl| 1004 FetchError b first byte timeout **** v1 vsl| 1004 BackendClose b 25 s1 close RX_TIMEOUT **** v1 vsl| 1004 Timestamp b Beresp: 1737238021.229343 0.104640 0.104555 **** v1 vsl| 1004 Timestamp b Error: 1737238021.229349 0.104645 0.000005 **** v1 vsl| 1004 BerespProtocol b HTTP/1.1 **** v1 vsl| 1004 BerespStatus b 503 **** v1 vsl| 1004 BerespReason b Backend fetch failed **** v1 vsl| 1004 BerespHeader b Date: Sat, 18 Jan 2025 22:07:01 GMT **** v1 vsl| 1004 BerespHeader b Server: Varnish **** v1 vsl| 1004 VCL_call b BACKEND_ERROR **** v1 vsl| 1004 VCL_return b abandon **** v1 vsl| 1004 BereqAcct b 151 0 151 0 0 0 **** v1 vsl| 1004 End b **** v1 vsl| 1003 Begin c req 1000 rxreq **** v1 vsl| 1003 Timestamp c Start: 1737238021.124653 0.000000 0.000000 **** v1 vsl| 1003 Timestamp c Req: 1737238021.124653 0.000000 0.000000 **** v1 vsl| 1003 VCL_use c vcl1 **** v1 vsl| 1003 ReqStart c 127.0.0.1 34932 a0 **** v1 vsl| 1003 ReqMethod c GET **** v1 vsl| 1003 ReqURL c /bar **** v1 vsl| 1003 ReqProtocol c HTTP/1.1 **** v1 vsl| 1003 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1003 ReqHeader c User-Agent: c1 **** v1 vsl| 1003 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1003 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1003 VCL_call c RECV **** v1 vsl| 1003 VCL_return c hash **** v1 vsl| 1003 VCL_call c HASH **** v1 vsl| 1003 VCL_return c lookup **** v1 vsl| 1003 VCL_call c MISS **** v1 vsl| 1003 VCL_return c fetch **** v1 vsl| 1003 Link c bereq 1004 fetch **** v1 vsl| 1003 Timestamp c Fetch: 1737238021.231957 0.107303 0.107303 **** v1 vsl| 1003 RespProtocol c HTTP/1.1 **** v1 vsl| 1003 RespStatus c 503 **** v1 vsl| 1003 RespReason c Service Unavailable **** v1 vsl| 1003 RespHeader c Date: Sat, 18 Jan 2025 22:07:01 GMT **** v1 vsl| 1003 RespHeader c Server: Varnish **** v1 vsl| 1003 RespHeader c X-Varnish: 1003 **** v1 vsl| 1003 VCL_call c SYNTH **** v1 vsl| 1003 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1003 RespHeader c Retry-After: 5 **** v1 vsl| 1003 VCL_return c deliver **** v1 vsl| 1003 Timestamp c Process: 1737238021.231989 0.107336 0.000032 **** v1 vsl| 1003 RespHeader c Content-Length: 278 **** v1 vsl| 1003 Storage c malloc Transient **** v1 vsl| 1003 Filters c **** v1 vsl| 1003 RespHeader c Connection: keep-alive **** v1 vsl| 1003 Timestamp c Resp: 1737238021.232043 0.107389 0.000053 **** v1 vsl| 1003 ReqAcct c 54 0 54 208 278 486 **** v1 vsl| 1003 End c **** v1 vsl| 1000 Link c req 1005 rxreq **** dT 1.498 *** s1 accepted fd 5 127.0.0.1 33368 ** s1 === rxreq **** s1 rxhdr|GET /bar HTTP/1.1\r **** s1 rxhdr|Host: 127.0.0.1\r **** s1 rxhdr|User-Agent: c1\r **** s1 rxhdr|X-Forwarded-For: 127.0.0.1\r **** s1 rxhdr|Via: 1.1 v1 (Varnish/trunk)\r **** s1 rxhdr|Accept-Encoding: gzip\r **** s1 rxhdr|X-Varnish: 1004\r **** s1 rxhdr|\r **** s1 rxhdrlen = 151 **** s1 http[ 0] |GET **** s1 http[ 1] |/bar **** s1 http[ 2] |HTTP/1.1 **** s1 http[ 3] |Host: 127.0.0.1 **** s1 http[ 4] |User-Agent: c1 **** s1 http[ 5] |X-Forwarded-For: 127.0.0.1 **** s1 http[ 6] |Via: 1.1 v1 (Varnish/trunk) **** s1 http[ 7] |Accept-Encoding: gzip **** s1 http[ 8] |X-Varnish: 1004 **** s1 bodylen = 0 ** s1 === expect req.url == "/bar" **** s1 EXPECT req.url (/bar) == "/bar" match ** s1 === txresp **** s1 txresp|HTTP/1.1 200 OK\r **** s1 txresp|Date: Sat, 18 Jan 2025 22:07:01 GMT\r **** s1 txresp|Server: s1\r **** s1 txresp|Content-Length: 0\r **** s1 txresp|\r *** s1 shutting fd 5 ** s1 Ending **** dT 1.581 **** c1 rxhdr|HTTP/1.1 503 Service Unavailable\r **** c1 rxhdr|Date: Sat, 18 Jan 2025 22:07:01 GMT\r **** c1 rxhdr|Server: Varnish\r **** c1 rxhdr|X-Varnish: 1005\r **** c1 rxhdr|Content-Type: text/html; charset=utf-8\r **** c1 rxhdr|Retry-After: 5\r **** c1 rxhdr|Content-Length: 278\r **** c1 rxhdr|Connection: keep-alive\r **** c1 rxhdr|\r **** c1 rxhdrlen = 208 **** c1 http[ 0] |HTTP/1.1 **** c1 http[ 1] |503 **** c1 http[ 2] |Service Unavailable **** c1 http[ 3] |Date: Sat, 18 Jan 2025 22:07:01 GMT **** c1 http[ 4] |Server: Varnish **** c1 http[ 5] |X-Varnish: 1005 **** c1 http[ 6] |Content-Type: text/html; charset=utf-8 **** c1 http[ 7] |Retry-After: 5 **** c1 http[ 8] |Content-Length: 278 **** c1 http[ 9] |Connection: keep-alive **** c1 c-l| **** c1 c-l| **** c1 c-l| **** c1 c-l|Service Unavailable
**** c1 c-l|XID: 1005
**** c1 c-l|Varnish cache server
**** c1 c-l| **** c1 c-l| **** c1 bodylen = 278 ** c1 === expect resp.status == 503 **** c1 EXPECT resp.status (503) == "503" match *** c1 closing fd 17 ** c1 Ending **** dT 1.582 ** top === varnish v1 -expect fetch_failed == 1 **** dT 1.593 **** v1 vsl| 1006 Begin b bereq 1005 fetch **** v1 vsl| 1006 VCL_use b vcl1 **** v1 vsl| 1006 Timestamp b Start: 1737238021.238865 0.000000 0.000000 **** v1 vsl| 1006 BereqMethod b GET **** v1 vsl| 1006 BereqURL b /baz **** v1 vsl| 1006 BereqProtocol b HTTP/1.1 **** v1 vsl| 1006 BereqHeader b Host: 127.0.0.1 **** v1 vsl| 1006 BereqHeader b User-Agent: c1 **** v1 vsl| 1006 BereqHeader b X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1006 BereqHeader b Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1006 BereqHeader b Accept-Encoding: gzip **** v1 vsl| 1006 BereqHeader b X-Varnish: 1006 **** v1 vsl| 1006 VCL_call b BACKEND_FETCH **** v1 vsl| 1006 VCL_return b fetch **** v1 vsl| 1006 Timestamp b Fetch: 1737238021.238882 0.000017 0.000017 **** v1 vsl| 1006 Timestamp b Connected: 1737238021.238950 0.000085 0.000068 **** v1 vsl| 1006 BackendOpen b 25 s1 127.0.0.1 37145 127.0.0.1 33374 connect **** v1 vsl| 1006 Timestamp b Bereq: 1737238021.238969 0.000104 0.000019 **** v1 vsl| 1006 FetchError b first byte timeout **** v1 vsl| 1006 BackendClose b 25 s1 close RX_TIMEOUT **** v1 vsl| 1006 Timestamp b Beresp: 1737238021.342224 0.103359 0.103254 **** v1 vsl| 1006 Timestamp b Error: 1737238021.342228 0.103363 0.000004 **** v1 vsl| 1006 BerespProtocol b HTTP/1.1 **** v1 vsl| 1006 BerespStatus b 503 **** v1 vsl| 1006 BerespReason b Backend fetch failed **** v1 vsl| 1006 BerespHeader b Date: Sat, 18 Jan 2025 22:07:01 GMT **** v1 vsl| 1006 BerespHeader b Server: Varnish **** v1 vsl| 1006 VCL_call b BACKEND_ERROR **** v1 vsl| 1006 VCL_return b abandon **** v1 vsl| 1006 BereqAcct b 151 0 151 0 0 0 **** v1 vsl| 1006 End b **** v1 vsl| 1005 Begin c req 1000 rxreq **** v1 vsl| 1005 Timestamp c Start: 1737238021.237146 0.000000 0.000000 **** v1 vsl| 1005 Timestamp c Req: 1737238021.237146 0.000000 0.000000 **** v1 vsl| 1005 VCL_use c vcl1 **** v1 vsl| 1005 ReqStart c 127.0.0.1 34932 a0 **** v1 vsl| 1005 ReqMethod c GET **** v1 vsl| 1005 ReqURL c /baz **** v1 vsl| 1005 ReqProtocol c HTTP/1.1 **** v1 vsl| 1005 ReqHeader c Host: 127.0.0.1 **** v1 vsl| 1005 ReqHeader c User-Agent: c1 **** v1 vsl| 1005 ReqHeader c X-Forwarded-For: 127.0.0.1 **** v1 vsl| 1005 ReqHeader c Via: 1.1 v1 (Varnish/trunk) **** v1 vsl| 1005 VCL_call c RECV **** v1 vsl| 1005 VCL_return c hash **** v1 vsl| 1005 VCL_call c HASH **** v1 vsl| 1005 VCL_return c lookup **** v1 vsl| 1005 VCL_call c MISS **** v1 vsl| 1005 VCL_return c fetch **** v1 vsl| 1005 Link c bereq 1006 fetch **** v1 vsl| 1005 Timestamp c Fetch: 1737238021.343536 0.106389 0.106389 **** v1 vsl| 1005 RespProtocol c HTTP/1.1 **** v1 vsl| 1005 RespStatus c 503 **** v1 vsl| 1005 RespReason c Service Unavailable **** v1 vsl| 1005 RespHeader c Date: Sat, 18 Jan 2025 22:07:01 GMT **** v1 vsl| 1005 RespHeader c Server: Varnish **** v1 vsl| 1005 RespHeader c X-Varnish: 1005 **** v1 vsl| 1005 VCL_call c SYNTH **** v1 vsl| 1005 RespHeader c Content-Type: text/html; charset=utf-8 **** v1 vsl| 1005 RespHeader c Retry-After: 5 **** v1 vsl| 1005 VCL_return c deliver **** v1 vsl| 1005 Timestamp c Process: 1737238021.343571 0.106424 0.000035 **** v1 vsl| 1005 RespHeader c Content-Length: 278 **** v1 vsl| 1005 Storage c malloc Transient **** v1 vsl| 1005 Filters c **** v1 vsl| 1005 RespHeader c Connection: keep-alive **** v1 vsl| 1005 Timestamp c Resp: 1737238021.343627 0.106480 0.000055 **** v1 vsl| 1005 ReqAcct c 54 0 54 208 278 486 **** v1 vsl| 1005 End c **** v1 vsl| 1000 SessClose c REM_CLOSE 0.227 **** v1 vsl| 1000 End c **** dT 4.144 **** v1 vsl| 0 CLI - Rd ping **** v1 vsl| 0 CLI - Wr 200 19 PONG 1737238023 1.0 **** dT 6.707 ---- v1 Not true: fetch_failed (2) == 1 (1) * top RESETTING after ../../../../bin/varnishtest/tests/b00038.vtc ** s1 Waiting for server (4/-1) **** dT 6.708 ** v1 Wait **** v1 CLI TX|panic.show **** dT 6.756 *** v1 CLI RX 300 **** v1 CLI RX|Child has not panicked or panic has been cleared *** v1 debug|Info: manager stopping child *** v1 debug|Debug: Stopping Child **** dT 6.821 **** v1 vsl| 0 CLI - EOF on CLI connection, worker stops **** dT 6.863 *** v1 debug|Info: Child (3674481) said Child dies *** v1 debug|Info: Child (3674481) ended *** v1 debug|Debug: Child cleanup complete *** v1 debug|Info: manager dies **** v1 STDOUT EOF **** dT 6.921 ** v1 WAIT4 pid=3674468 status=0x0000 (user 0.232503 sys 0.119040) **** dT 6.922 * top TEST ../../../../bin/varnishtest/tests/b00038.vtc FAILED # top TEST ../../../../bin/varnishtest/tests/b00038.vtc FAILED (6.935) exit=2 FAIL tests/b00038.vtc (exit status: 2)